package com.briup.mybatis02code.entity.ex;

import com.briup.mybatis02code.entity.Dept;
import com.briup.mybatis02code.entity.Region;
import lombok.Data;

import java.util.List;

@Data
public class RegionExtend extends Region {
    private List<Dept> depts;

    @Override
    public String toString() {
        return "RegionExtend{ " + super.toString()+","+depts+"}";
    }
}
